public class program18{
    public static void main(String[] args) {
        System.out.println("a\tb\tpow(a,b)");
        for (int a = 1, b = 2; a <= 5; a++, b++) {
            System.out.printf("%d\t%d\t%d%n", a, b, (int) Math.pow(a, b));
        }
    }
}
